package booroo.basic;

public class J02_Expression01 {

	public static void main(String[] args) {
		int x, y, z, s, v, t, g, a1, a2, a3, a4, a5;
		x=10;
		y=20;
		z=30;
		s=40;
		v=50;
		g=60;
		t=70;
		a1=3*x;
		a2=(3*x)+y;
		a3=(x+y)/7;
		a4=(3*x+y)/(z+2);
		a5=s+(v*t)+((1/2)*g*t*t);
		System.out.println("3x="+a1);
		System.out.println("3x+y="+a2);
		System.out.println("(x+y)/7="+a3);
		System.out.println("(3x+y)/(z+2)="+a4);
		System.out.println(a5);
	}

}
